package com.minelx.serverandclient.stream.divider;

import com.minelx.serverandclient.stream.Indexer;

public class IndexedDividerFactory implements IDividerFactory {
	private final Indexer source;

	public IndexedDividerFactory(Indexer source) {
		this.source = source;
	}

	@Override
	public Divider create(int dividedLength) {
		return new IndexedDivider(source, dividedLength);
	}
}
